function o(n) {
    t = "",
        ["66", "72", "6f", "6d", "43", "68", "61", "72", "43", "6f", "64", "65"].forEach(function (n) {
            t += unescape('%u00' + n)
        });
    var t, e = t;
    return String[e](n)
}

function h(n, t) {
    for (var e = (n = n["split"](""))["length"], r = t["length"], a = "charCodeAt", i = 0; i < e; i++)
        n[i] = o(n[i][a](0) ^ t[(i + 10) % r][a](0));
    return n["join"]("")
};

function v(t) {
    t = encodeURIComponent(t)["replace"](/%([0-9A-F]{2})/g, function (n, t) {
        return o("0x" + t)
    });
    return btoa(t)
};


function get_data(a) {

    let t = {
        "url": "/indexV2/getIndexRank",
        "baseURL": "https://api.qimai.cn"
    }
    let r = new Date() - (-90 || 0) - 1661224081041
    a = a["sort"]()["join"](""),
        a = v(a),
        a = (a += "@#" + t["url"]["replace"](t["baseURL"], "")) + ("@#" + r) + ("@#" + 3)

    let e = v(h(a, 'xyz517cda96efgh'))
    return e
}

// console.log(get_data([0,"5000"]))